9.9
CRITICAL CVSS 3.1
CVE-2026-21877
n8n is vulnerable to Remote Code Execution via Arbitrary File Write
Description

n8n is an open source workflow automation platform. In versions 0.121.2 and below, an authenticated attacker may be able to execute malicious code using the n8n service. This could result in full compromise and can impact both self-hosted and n8n Cloud instances. This issue is fixed in version 1.121.3. Administrators can reduce exposure by disabling the Git node and limiting access for untrusted users, but upgrading to the latest version is recommended.

INFO

Published Date :

Jan. 8, 2026, 1:15 a.m.

Last Modified :

Jan. 8, 2026, 6:08 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-21877 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 N8n n8n
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Upgrade n8n to version 1.121.3 or later to fix remote code execution.
  • Upgrade n8n to the latest version.
  • Disable the Git node if upgrading is not possible.
  • Limit access for untrusted users.
Public PoC/Exploit Available at Github

CVE-2026-21877 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-21877.

URL Resource
https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6
https://github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-21877 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2026-21877

Updated: 1 day, 3 hours ago
0 stars 0 fork 0 watcher
Born at : Jan. 8, 2026, 1:15 p.m. This repo has been linked 1 different CVEs too.

This repository contains Bug Bounty writeups

bug-bounty bugbounty cybersecurity penetration-testing pentesting security security-tools technology writeups securitycipher

Updated: 1 day, 9 hours ago
69 stars 5 fork 5 watcher
Born at : Oct. 30, 2023, 10:40 p.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 18 hours, 58 minutes ago
7462 stars 1233 fork 1233 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 825 different CVEs too.

爬取secwiki和xuanwu.github.io/sec.today,分析安全信息站点、安全趋势、提取安全工作者账号(twitter,weixin,github等)

Python HTML

Updated: 1 day, 1 hour ago
1408 stars 236 fork 236 watcher
Born at : Feb. 19, 2019, 10:24 a.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-21877 vulnerability anywhere in the article.

  • hackread.com
n8n Users Urged to Patch CVSS 10.0 Full System Takeover Vulnerability

If your company uses n8n to handle daily tasks, it is time to check your version number. A major security flaw has been found in the platform, and it’s about as serious as it gets. The firm Upwind rec ... Read more

Published Date: Jan 08, 2026 (20 hours, 50 minutes ago)
  • Daily CyberSecurity
Public Exploit Released: Critical n8n Flaw CVE-2026-21858 Exposes 100k Servers

The “central nervous system” of automation for thousands of companies has a critical weakness. A new report from Cyera reveals a devastating vulnerability in n8n, the popular workflow automation platf ... Read more

Published Date: Jan 08, 2026 (1 day, 13 hours ago)

The following table lists the changes that have been made to the CVE-2026-21877 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jan. 08, 2026

    Action Type Old Value New Value
    Added Description n8n is an open source workflow automation platform. In versions 0.121.2 and below, an authenticated attacker may be able to execute malicious code using the n8n service. This could result in full compromise and can impact both self-hosted and n8n Cloud instances. This issue is fixed in version 1.121.3. Administrators can reduce exposure by disabling the Git node and limiting access for untrusted users, but upgrading to the latest version is recommended.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Added CWE CWE-94
    Added CWE CWE-434
    Added Reference https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6
    Added Reference https://github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.9
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact